package com.ddbook.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wx
 * @since 2023-10-12 11:02:55
 */
@Data
@TableName("t_readers")
@NoArgsConstructor//空参构造
@AllArgsConstructor//全参构造
public class Readers implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;

    private String salt;

    private String age;

    private Integer telephone;

    private String sex;

    private LocalDate creat_time;

    private String vip;

    private LocalDateTime state_time;

    private LocalDateTime end_time;

    private Integer bookb_num;

    private Integer monthly_num;

    private String email;

    private String img;

    private Integer max_day;

    private Integer attr1;

    private Integer attr2;

    private String attr3;

    private String attr4;

}
